package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Component;

/**
 * 农产品信息对象 argo_product
 * 
 * @author qhr
 * @date 2024-02-27
 */
@Component
public class ArgoProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农产品代号 */
    private Long id;

    /** 农产品类型 */
    @Excel(name = "农产品类型")
    private String productType;

    /** 农产品名称 */
    @Excel(name = "农产品名称")
    private String productDepic;

    /** 存储量 */
    @Excel(name = "存储量")
    private Long stock;

    /** 0 逻辑删除,1 删除 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setProductDepic(String productDepic) 
    {
        this.productDepic = productDepic;
    }

    public String getProductDepic() 
    {
        return productDepic;
    }
    public void setStock(Long stock) 
    {
        this.stock = stock;
    }

    public Long getStock() 
    {
        return stock;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productType", getProductType())
            .append("productDepic", getProductDepic())
            .append("createTime", getCreateTime())
            .append("stock", getStock())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
